import { createRouterGuards } from './router-guards'
import { staticRouters } from './basics.router'
import { createRouter, createWebHashHistory } from 'vue-router'

// 实例化路由
const router = createRouter({
  history: createWebHashHistory('/manageThah'),
  routes: staticRouters
})

// 路由守卫
createRouterGuards(router)

export default router
